import i18n from "@/lang/index";
const searchConfig = {
  pageName: "",
  formItems: [
    {
      type: "input",
      label: i18n.global.t("search.14"),
      prop: "trade_no",
      attrs: {
        placeholder: i18n.global.t("search.14"),
        clearable: true,
        style: {
          width: "150px",
        },
      },
    },
    {
      type: "input",
      label: i18n.global.t("search.1"),
      prop: "user_id",
      attrs: {
        placeholder: i18n.global.t("search.1"),
        clearable: true,
        style: {
          width: "150px",
        },
      },
    },
    {
      type: "select",
      label: i18n.global.t("search.15"),
      prop: "status",
      attrs: {
        placeholder: i18n.global.t("status.3"),
        clearable: true,
        style: {
          width: "150px",
        },
      },
      options: [
        { label: i18n.global.t("status.6"), value: 0 },
        { label: i18n.global.t("status.7"), value: 1 },
        { label: i18n.global.t("status.8"), value: 2 },
        { label: i18n.global.t("status.9"), value: 3 },
      ],
    },
    {
      type: "date-picker",
      label: i18n.global.t("search.17"),
      prop: "time",
      attrs: {
        type: "datetimerange",
        "range-separator": "~",
        "start-placeholder": i18n.global.t("search.6"),
        "end-placeholder": i18n.global.t("search.7"),
        "value-format": "YYYY-MM-DD HH:mm:ss",
        style: {
          width: "360px",
        },
      },
    },
  ],
};

export default searchConfig;
